// components/star-list/index.js
Component({
  /**
   * 组件的一些选项
   */
  options: {
    addGlobalClass: true,
    multipleSlots: true
  },
  /**
   * 组件的属性列表
   */
  properties: {
    nav_list:{
      type:Array,
      value:[
        {
          image:'cloud://cloud-note-0gbxjzona658709d.636c-cloud-note-0gbxjzona658709d-1304627278/basic/small.svg',
          title:'小程序'
        },
        {
          image:'cloud://cloud-note-0gbxjzona658709d.636c-cloud-note-0gbxjzona658709d-1304627278/basic/java.png',
          title:'Java'
        },
        {
          image:'cloud://cloud-note-0gbxjzona658709d.636c-cloud-note-0gbxjzona658709d-1304627278/basic/Idea.png',
          title:'IDEA'
        },
        {
          image:'cloud://cloud-note-0gbxjzona658709d.636c-cloud-note-0gbxjzona658709d-1304627278/basic/python.png',
          title:'python'
        },
        {
          image:'cloud://cloud-note-0gbxjzona658709d.636c-cloud-note-0gbxjzona658709d-1304627278/basic/aspx.png',
          title:'VS'
        }
      ],
      observer:function(newVal,oldVal){
        console.log(newVal)
        this.setData({
          nav_list:newVal
        })
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
